package cn.line5.seam.cms.column;

import java.util.List;

import cn.line5.seam.db.PageResult;
/**
 * <h1>LSEAM框架示例业务层接口类</h1>
 * 
 * @author Liu,yandong
 */
public interface ColumnService {
	public List<ColumnVo> getList();
	public PageResult<ColumnVo> getPageList(int currentPage);
	public ColumnVo getColumn(String id);
	public ColumnVo getColumnVo(ColumnVo columnVo);
	public boolean saveColumn(ColumnVo vo);
	public boolean deleteColumn(String[] ids);

	/**
	 * 机构向上排序
	 */
	public Boolean upColumn(String parentColumnId,String columnId);

	/**
	 * 机构向下排序
	 */
	public Boolean downColumn(String parentColumnId,String columnId);

	/**
	 * 获取树的JS代码
	 */
	public String getColumnTreeJs();
}
